public class PrivateOverride {
	private void f() {
		System.out.printf("PrivateOverride::f()\n");
	}

	public static void main(String[] args) {
		PrivateOverride po = new Derived();
		po.f();
		Derived der = new Derived();
		der.f();
	}
}

class Derived extends PrivateOverride {
	public void f() {
		System.out.printf("Derived::f()\n");
	}

	public static void main(String[] args) {
		Derived d = new Derived();
		d.f();
	}
}
